import { $httpPost } from '../plugins/axios'
// const baseUrl = process.env.NODE_ENV === 'production' ? '' : '/api'
const baseUrl = ''

export const CONNECT_DATABASE = (params) => {
  return $httpPost(`${baseUrl}/conn_database`, params)
}

export const CODE_GENERATION = (params) => {
  return $httpPost(`${baseUrl}/code_generation`, params)
}
